package com.matrix.index.ui.home.bean

import com.chad.library.adapter.base.entity.MultiItemEntity
import org.litepal.crud.LitePalSupport

data class SearchBean(override var itemType: Int) : LitePalSupport(), MultiItemEntity {
    companion object {
        const val JOKE: Int = 0
        const val IMAGE: Int = 1
        const val WALL: Int = 2
    }

    var timestamp = ""
    var imageUrl = ""
    var imageDesc = ""
    var jokeDesc = ""
    override fun toString(): String {
        return "SearchBean(type=$itemType, timestamp='$timestamp', imageUrl='$imageUrl', imageDesc='$imageDesc', jokeDesc='$jokeDesc')"
    }
}